package dto

type DictCreateDTO struct {
	Phone  string `json:"phone" binding:"required"`
	Stock  int    `json:"stock" binding:"required"`
	Price  int    `json:"price" binding:"required"`
	Desc   string `json:"desc"`
	DictId string `json:"dictId"`
	Value  string `json:"value"`
}

type QueryDictListDTO struct {
	CommonQuery
}

type DeleteDictDTo struct {
	DictId string `json:"dictId" binding:"required"`
}
type RechargeDTO struct {
	DictId string `json:"dictId" binding:"required"`
	Amount int    `json:"amount" binding:"required"`
}

type QueryOrderListDTO struct {
	CommonQuery
}

type CreateOrderDTO struct {
	Phone    string `json:"phone" binding:"required"`
	Quantity int    `json:"quantity" binding:"required"`
	Address  string `json:"address" binding:"required"`
	Linkman  string `json:"linkman"`
	Desc     string `json:"desc"`
}
type DeleteOrderDTO struct {
	OrderId string `json:"orderId" binding:"required"`
}

type ConfirmOrderDTO struct {
	OrderId string `json:"orderId" binding:"required"`
	Status  int    `json:"status" binding:"required"`
}
